package cn.com.springsource;

public class CommonUtil {

    public static String buildQuerySqlEntity(Object object){
        Class<?> aClass = object.getClass();
        if (aClass.isAnnotationPresent(Entity.class)) {
            Entity entity = aClass.getAnnotation(Entity.class);
            String entityName = entity.value();
            System.out.println("entity value:"+entityName);
        }
        return "";
    }
}
